package java56_3;

import java.util.Scanner;

public class Prize2 {

	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		System.out.println("请输入张浩的java成绩：");
		int java = sc.nextInt();
		System.out.println("在输入music成绩：");
		int music = sc.nextInt();
		if ((java > 90 && music > 80) || (java == 100 && music > 70)) {
			System.out.println("有iphone XS作为奖励");
		}
	}

}
